RULER

Description

This widget displays the scale of an axis (formatted text values) for a graph or parameter corresponding to the associated parameter information.

Common Attributes

See attributes common to all parameter information widgets.

See also the PARAM_TEXT specific attributes, since this widget displays text formatted from parameter information.

Specific Attributes
Name Value Type Default Value Description Comment V.

color

color

current text color

Color of the displayed text.


1.3

orientation

orientation

vertical

Orientation of the ruler.


1.3

text_h_align

Horizontal alignment

center

Horizontal alignment of the text.

This alignment is relative to a regularly spaced grid. Used only for horizontal ruler.

1.3

text_v_align

Vertical alignment

center

Vertical alignment of the text.

This alignment is relative to a regularly spaced grid. Used only for a vertical ruler.

1.3

Examples
<?xml version="1.0" encoding="utf-8" ?>
<SKIN language_version="1.0" background_color="#000000" v_margin="10" h_margin="10">
   <RULER orientation="horizontal" text_h_align="center" h_margin="14" height="20" width="300" value_suffix="true"
      curve_id="dsp.output_curve3.x_info" color="#888888" value_format=".0" content="{value}" x_positions_count="10"/>
</SKIN>